_create_map_elements

function _create_map_elements(instance: instance, attribute: attribute, elements: map<gtv, gtv>, map_attrs: (K: attribute, V: attribute, I: attribute))